amazonka-alexa-business-1.6.0: Amazon Alexa For Business 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.AlexaBusiness.SearchProfiles

Contents

Description

Searches room profiles and lists the ones that meet a set of filter criteria.

This operation returns paginated results.

Synopsis

Creating a Request

searchProfiles :: SearchProfiles Source #

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

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

  • spFilters - The filters to use to list a specified set of room profiles. Supported filter keys are ProfileName and Address. Required.
  • spSortCriteria - The sort order to use in listing the specified set of room profiles. Supported sort keys are ProfileName and Address.
  • spNextToken - An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults .
  • spMaxResults - The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

data SearchProfiles Source #

See: searchProfiles smart constructor.

Instances

Eq SearchProfiles Source # 
Data SearchProfiles Source # 

Methods

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

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

toConstr :: SearchProfiles -> Constr #

dataTypeOf :: SearchProfiles -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SearchProfiles Source # 
Show SearchProfiles Source # 
Generic SearchProfiles Source # 

Associated Types

type Rep SearchProfiles :: * -> * #

Hashable SearchProfiles Source # 
ToJSON SearchProfiles Source # 
NFData SearchProfiles Source # 

Methods

rnf :: SearchProfiles -> () #

AWSPager SearchProfiles Source # 
AWSRequest SearchProfiles Source # 
ToHeaders SearchProfiles Source # 
ToPath SearchProfiles Source # 
ToQuery SearchProfiles Source # 
type Rep SearchProfiles Source # 
type Rep SearchProfiles = D1 * (MetaData "SearchProfiles" "Network.AWS.AlexaBusiness.SearchProfiles" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" False) (C1 * (MetaCons "SearchProfiles'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_spFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Filter]))) (S1 * (MetaSel (Just Symbol "_spSortCriteria") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Sort])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_spNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_spMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs SearchProfiles Source # 

Request Lenses

spFilters :: Lens' SearchProfiles [Filter] Source #

The filters to use to list a specified set of room profiles. Supported filter keys are ProfileName and Address. Required.

spSortCriteria :: Lens' SearchProfiles [Sort] Source #

The sort order to use in listing the specified set of room profiles. Supported sort keys are ProfileName and Address.

spNextToken :: Lens' SearchProfiles (Maybe Text) Source #

An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults .

spMaxResults :: Lens' SearchProfiles (Maybe Natural) Source #

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

Destructuring the Response

searchProfilesResponse Source #

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

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

data SearchProfilesResponse Source #

See: searchProfilesResponse smart constructor.

Instances

Eq SearchProfilesResponse Source # 
Data SearchProfilesResponse Source # 

Methods

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

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

toConstr :: SearchProfilesResponse -> Constr #

dataTypeOf :: SearchProfilesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SearchProfilesResponse Source # 
Show SearchProfilesResponse Source # 
Generic SearchProfilesResponse Source # 
NFData SearchProfilesResponse Source # 

Methods

rnf :: SearchProfilesResponse -> () #

type Rep SearchProfilesResponse Source # 
type Rep SearchProfilesResponse = D1 * (MetaData "SearchProfilesResponse" "Network.AWS.AlexaBusiness.SearchProfiles" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" False) (C1 * (MetaCons "SearchProfilesResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_sprsProfiles") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ProfileData]))) (S1 * (MetaSel (Just Symbol "_sprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_sprsTotalCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_sprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

sprsProfiles :: Lens' SearchProfilesResponse [ProfileData] Source #

The profiles that meet the specified set of filter criteria, in sort order.

sprsNextToken :: Lens' SearchProfilesResponse (Maybe Text) Source #

The token returned to indicate that there is more data available.

sprsTotalCount :: Lens' SearchProfilesResponse (Maybe Int) Source #

The total number of room profiles returned.

sprsResponseStatus :: Lens' SearchProfilesResponse Int Source #

  • - | The response status code.