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.SearchRooms

Contents

Description

Searches rooms and lists the ones that meet a set of filter and sort criteria.

This operation returns paginated results.

Synopsis

Creating a Request

searchRooms :: SearchRooms Source #

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

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

  • srFilters - The filters to use to list a specified set of rooms. The supported filter keys are RoomName and ProfileName.
  • srSortCriteria - The sort order to use in listing the specified set of rooms. The supported sort keys are RoomName and ProfileName.
  • srNextToken - 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 .
  • srMaxResults - 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 SearchRooms Source #

See: searchRooms smart constructor.

Instances

Eq SearchRooms Source # 
Data SearchRooms Source # 

Methods

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

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

toConstr :: SearchRooms -> Constr #

dataTypeOf :: SearchRooms -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SearchRooms Source # 
Show SearchRooms Source # 
Generic SearchRooms Source # 

Associated Types

type Rep SearchRooms :: * -> * #

Hashable SearchRooms Source # 
ToJSON SearchRooms Source # 
NFData SearchRooms Source # 

Methods

rnf :: SearchRooms -> () #

AWSPager SearchRooms Source # 
AWSRequest SearchRooms Source # 
ToHeaders SearchRooms Source # 

Methods

toHeaders :: SearchRooms -> [Header] #

ToPath SearchRooms Source # 
ToQuery SearchRooms Source # 
type Rep SearchRooms Source # 
type Rep SearchRooms = D1 * (MetaData "SearchRooms" "Network.AWS.AlexaBusiness.SearchRooms" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" False) (C1 * (MetaCons "SearchRooms'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_srFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Filter]))) (S1 * (MetaSel (Just Symbol "_srSortCriteria") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Sort])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_srNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_srMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs SearchRooms Source # 

Request Lenses

srFilters :: Lens' SearchRooms [Filter] Source #

The filters to use to list a specified set of rooms. The supported filter keys are RoomName and ProfileName.

srSortCriteria :: Lens' SearchRooms [Sort] Source #

The sort order to use in listing the specified set of rooms. The supported sort keys are RoomName and ProfileName.

srNextToken :: Lens' SearchRooms (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 .

srMaxResults :: Lens' SearchRooms (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

searchRoomsResponse Source #

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

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

data SearchRoomsResponse Source #

See: searchRoomsResponse smart constructor.

Instances

Eq SearchRoomsResponse Source # 
Data SearchRoomsResponse Source # 

Methods

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

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

toConstr :: SearchRoomsResponse -> Constr #

dataTypeOf :: SearchRoomsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SearchRoomsResponse Source # 
Show SearchRoomsResponse Source # 
Generic SearchRoomsResponse Source # 
NFData SearchRoomsResponse Source # 

Methods

rnf :: SearchRoomsResponse -> () #

type Rep SearchRoomsResponse Source # 
type Rep SearchRoomsResponse = D1 * (MetaData "SearchRoomsResponse" "Network.AWS.AlexaBusiness.SearchRooms" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" False) (C1 * (MetaCons "SearchRoomsResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_srrsRooms") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [RoomData]))) (S1 * (MetaSel (Just Symbol "_srrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_srrsTotalCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_srrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

srrsRooms :: Lens' SearchRoomsResponse [RoomData] Source #

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

srrsNextToken :: Lens' SearchRoomsResponse (Maybe Text) Source #

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

srrsTotalCount :: Lens' SearchRoomsResponse (Maybe Int) Source #

The total number of rooms returned.

srrsResponseStatus :: Lens' SearchRoomsResponse Int Source #

  • - | The response status code.