amazonka-cloudsearch-domains-1.6.1: 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

Contents

Description

You use the AmazonCloudSearch2013 API to upload documents to a search domain and search those documents.

The endpoints for submitting UploadDocuments , Search , and Suggest requests are domain-specific. To get the endpoints for your domain, use the Amazon CloudSearch configuration service DescribeDomains action. The domain endpoints are also displayed on the domain dashboard in the Amazon CloudSearch console. You submit suggest requests to the search endpoint.

For more information, see the Amazon CloudSearch Developer Guide .

Synopsis

Service Configuration

cloudSearchDomains :: Service Source #

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

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by CloudSearchDomains.

DocumentServiceException

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

Information about any problems encountered while processing an upload request.

SearchException

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

Information about any problems encountered while processing a search request.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

Suggest

UploadDocuments

Search

Types

ContentType

data ContentType Source #

Instances
Bounded ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Enum ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Eq ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Data ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Read ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Show ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Generic ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Associated Types

type Rep ContentType :: Type -> Type #

Hashable ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

ToJSON ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

ToHeader ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

ToQuery ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

ToByteString ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

FromText ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

ToText ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Methods

toText :: ContentType -> Text #

NFData ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Methods

rnf :: ContentType -> () #

type Rep ContentType Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

type Rep ContentType = D1 (MetaData "ContentType" "Network.AWS.CloudSearchDomains.Types.Sum" "amazonka-cloudsearch-domains-1.6.1-3MDoOGTk8dg5jf7Q9NEUiM" False) (C1 (MetaCons "ApplicationJSON" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ApplicationXML" PrefixI False) (U1 :: Type -> Type))

QueryParser

data QueryParser Source #

Constructors

Dismax 
Lucene 
Simple 
Structured 
Instances
Bounded QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Enum QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Eq QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Data QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Read QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Show QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Generic QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Associated Types

type Rep QueryParser :: Type -> Type #

Hashable QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

ToJSON QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

ToHeader QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

ToQuery QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

ToByteString QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

FromText QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

ToText QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Methods

toText :: QueryParser -> Text #

NFData QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

Methods

rnf :: QueryParser -> () #

type Rep QueryParser Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Sum

type Rep QueryParser = D1 (MetaData "QueryParser" "Network.AWS.CloudSearchDomains.Types.Sum" "amazonka-cloudsearch-domains-1.6.1-3MDoOGTk8dg5jf7Q9NEUiM" False) ((C1 (MetaCons "Dismax" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Lucene" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Simple" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Structured" PrefixI False) (U1 :: Type -> Type)))

Bucket

data Bucket Source #

A container for facet information.

See: bucket smart constructor.

Instances
Eq Bucket Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

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

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

Data Bucket Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Show Bucket Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Generic Bucket Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Associated Types

type Rep Bucket :: Type -> Type #

Methods

from :: Bucket -> Rep Bucket x #

to :: Rep Bucket x -> Bucket #

Hashable Bucket Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

hashWithSalt :: Int -> Bucket -> Int #

hash :: Bucket -> Int #

FromJSON Bucket Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

NFData Bucket Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

rnf :: Bucket -> () #

type Rep Bucket Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

type Rep Bucket = D1 (MetaData "Bucket" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.1-3MDoOGTk8dg5jf7Q9NEUiM" False) (C1 (MetaCons "Bucket'" PrefixI True) (S1 (MetaSel (Just "_bValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Data BucketInfo Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Show BucketInfo Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Generic BucketInfo Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Associated Types

type Rep BucketInfo :: Type -> Type #

Hashable BucketInfo Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

FromJSON BucketInfo Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

NFData BucketInfo Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

rnf :: BucketInfo -> () #

type Rep BucketInfo Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

type Rep BucketInfo = D1 (MetaData "BucketInfo" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.1-3MDoOGTk8dg5jf7Q9NEUiM" True) (C1 (MetaCons "BucketInfo'" PrefixI True) (S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Data DocumentServiceWarning Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Show DocumentServiceWarning Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Generic DocumentServiceWarning Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Associated Types

type Rep DocumentServiceWarning :: Type -> Type #

Hashable DocumentServiceWarning Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

FromJSON DocumentServiceWarning Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

NFData DocumentServiceWarning Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

rnf :: DocumentServiceWarning -> () #

type Rep DocumentServiceWarning Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

type Rep DocumentServiceWarning = D1 (MetaData "DocumentServiceWarning" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.1-3MDoOGTk8dg5jf7Q9NEUiM" True) (C1 (MetaCons "DocumentServiceWarning'" PrefixI True) (S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Data FieldStats Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Show FieldStats Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Generic FieldStats Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Associated Types

type Rep FieldStats :: Type -> Type #

Hashable FieldStats Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

FromJSON FieldStats Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

NFData FieldStats Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

rnf :: FieldStats -> () #

type Rep FieldStats Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

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

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

Data Hit Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Show Hit Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

showsPrec :: Int -> Hit -> ShowS #

show :: Hit -> String #

showList :: [Hit] -> ShowS #

Generic Hit Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Associated Types

type Rep Hit :: Type -> Type #

Methods

from :: Hit -> Rep Hit x #

to :: Rep Hit x -> Hit #

Hashable Hit Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

hashWithSalt :: Int -> Hit -> Int #

hash :: Hit -> Int #

FromJSON Hit Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

NFData Hit Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

rnf :: Hit -> () #

type Rep Hit Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

type Rep Hit = D1 (MetaData "Hit" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.1-3MDoOGTk8dg5jf7Q9NEUiM" False) (C1 (MetaCons "Hit'" PrefixI True) ((S1 (MetaSel (Just "_hitExprs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_hitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_hitHighlights") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

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

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

Data Hits Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Show Hits Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

showsPrec :: Int -> Hits -> ShowS #

show :: Hits -> String #

showList :: [Hits] -> ShowS #

Generic Hits Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Associated Types

type Rep Hits :: Type -> Type #

Methods

from :: Hits -> Rep Hits x #

to :: Rep Hits x -> Hits #

Hashable Hits Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

hashWithSalt :: Int -> Hits -> Int #

hash :: Hits -> Int #

FromJSON Hits Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

NFData Hits Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

rnf :: Hits -> () #

type Rep Hits Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

type Rep Hits = D1 (MetaData "Hits" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.1-3MDoOGTk8dg5jf7Q9NEUiM" False) (C1 (MetaCons "Hits'" PrefixI True) ((S1 (MetaSel (Just "_hCursor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_hHit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Hit]))) :*: (S1 (MetaSel (Just "_hStart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Data SearchStatus Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Show SearchStatus Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Generic SearchStatus Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Associated Types

type Rep SearchStatus :: Type -> Type #

Hashable SearchStatus Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

FromJSON SearchStatus Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

NFData SearchStatus Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

rnf :: SearchStatus -> () #

type Rep SearchStatus Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

type Rep SearchStatus = D1 (MetaData "SearchStatus" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.1-3MDoOGTk8dg5jf7Q9NEUiM" False) (C1 (MetaCons "SearchStatus'" PrefixI True) (S1 (MetaSel (Just "_sRid") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Data SuggestModel Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Show SuggestModel Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Generic SuggestModel Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Associated Types

type Rep SuggestModel :: Type -> Type #

Hashable SuggestModel Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

FromJSON SuggestModel Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

NFData SuggestModel Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

rnf :: SuggestModel -> () #

type Rep SuggestModel Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

type Rep SuggestModel = D1 (MetaData "SuggestModel" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.1-3MDoOGTk8dg5jf7Q9NEUiM" False) (C1 (MetaCons "SuggestModel'" PrefixI True) (S1 (MetaSel (Just "_smFound") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 (MetaSel (Just "_smSuggestions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SuggestionMatch])) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Data SuggestStatus Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Show SuggestStatus Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Generic SuggestStatus Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Associated Types

type Rep SuggestStatus :: Type -> Type #

Hashable SuggestStatus Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

FromJSON SuggestStatus Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

NFData SuggestStatus Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

rnf :: SuggestStatus -> () #

type Rep SuggestStatus Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

type Rep SuggestStatus = D1 (MetaData "SuggestStatus" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.1-3MDoOGTk8dg5jf7Q9NEUiM" False) (C1 (MetaCons "SuggestStatus'" PrefixI True) (S1 (MetaSel (Just "_ssRid") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Data SuggestionMatch Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Show SuggestionMatch Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Generic SuggestionMatch Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Associated Types

type Rep SuggestionMatch :: Type -> Type #

Hashable SuggestionMatch Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

FromJSON SuggestionMatch Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

NFData SuggestionMatch Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

Methods

rnf :: SuggestionMatch -> () #

type Rep SuggestionMatch Source # 
Instance details

Defined in Network.AWS.CloudSearchDomains.Types.Product

type Rep SuggestionMatch = D1 (MetaData "SuggestionMatch" "Network.AWS.CloudSearchDomains.Types.Product" "amazonka-cloudsearch-domains-1.6.1-3MDoOGTk8dg5jf7Q9NEUiM" False) (C1 (MetaCons "SuggestionMatch'" PrefixI True) (S1 (MetaSel (Just "_smSuggestion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_smScore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "_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.