amazonka-alexa-business-1.6.1: 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 # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

Data SearchProfiles Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

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

Defined in Network.AWS.AlexaBusiness.SearchProfiles

Show SearchProfiles Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

Generic SearchProfiles Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

Associated Types

type Rep SearchProfiles :: Type -> Type #

Hashable SearchProfiles Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

ToJSON SearchProfiles Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

AWSPager SearchProfiles Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

AWSRequest SearchProfiles Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

Associated Types

type Rs SearchProfiles :: Type #

ToHeaders SearchProfiles Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

ToPath SearchProfiles Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

ToQuery SearchProfiles Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

NFData SearchProfiles Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

Methods

rnf :: SearchProfiles -> () #

type Rep SearchProfiles Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

type Rep SearchProfiles = D1 (MetaData "SearchProfiles" "Network.AWS.AlexaBusiness.SearchProfiles" "amazonka-alexa-business-1.6.1-FQuG4RoJ6vRJhvV2Vb1OnQ" False) (C1 (MetaCons "SearchProfiles'" PrefixI True) ((S1 (MetaSel (Just "_spFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 (MetaSel (Just "_spSortCriteria") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Sort]))) :*: (S1 (MetaSel (Just "_spNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_spMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs SearchProfiles Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

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

Defined in Network.AWS.AlexaBusiness.SearchProfiles

Data SearchProfilesResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

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

Defined in Network.AWS.AlexaBusiness.SearchProfiles

Show SearchProfilesResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

Generic SearchProfilesResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

Associated Types

type Rep SearchProfilesResponse :: Type -> Type #

NFData SearchProfilesResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

Methods

rnf :: SearchProfilesResponse -> () #

type Rep SearchProfilesResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchProfiles

type Rep SearchProfilesResponse = D1 (MetaData "SearchProfilesResponse" "Network.AWS.AlexaBusiness.SearchProfiles" "amazonka-alexa-business-1.6.1-FQuG4RoJ6vRJhvV2Vb1OnQ" False) (C1 (MetaCons "SearchProfilesResponse'" PrefixI True) ((S1 (MetaSel (Just "_sprsProfiles") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ProfileData])) :*: S1 (MetaSel (Just "_sprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_sprsTotalCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_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.