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

Defined in Network.AWS.AlexaBusiness.SearchRooms

Data SearchRooms Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

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

Defined in Network.AWS.AlexaBusiness.SearchRooms

Show SearchRooms Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

Generic SearchRooms Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

Associated Types

type Rep SearchRooms :: Type -> Type #

Hashable SearchRooms Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

ToJSON SearchRooms Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

AWSPager SearchRooms Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

AWSRequest SearchRooms Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

Associated Types

type Rs SearchRooms :: Type #

ToHeaders SearchRooms Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

Methods

toHeaders :: SearchRooms -> [Header] #

ToPath SearchRooms Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

ToQuery SearchRooms Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

NFData SearchRooms Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

Methods

rnf :: SearchRooms -> () #

type Rep SearchRooms Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

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

Defined in Network.AWS.AlexaBusiness.SearchRooms

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

Defined in Network.AWS.AlexaBusiness.SearchRooms

Data SearchRoomsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

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

Defined in Network.AWS.AlexaBusiness.SearchRooms

Show SearchRoomsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

Generic SearchRoomsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

Associated Types

type Rep SearchRoomsResponse :: Type -> Type #

NFData SearchRoomsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

Methods

rnf :: SearchRoomsResponse -> () #

type Rep SearchRoomsResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.SearchRooms

type Rep SearchRoomsResponse = D1 (MetaData "SearchRoomsResponse" "Network.AWS.AlexaBusiness.SearchRooms" "amazonka-alexa-business-1.6.1-FQuG4RoJ6vRJhvV2Vb1OnQ" False) (C1 (MetaCons "SearchRoomsResponse'" PrefixI True) ((S1 (MetaSel (Just "_srrsRooms") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RoomData])) :*: S1 (MetaSel (Just "_srrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_srrsTotalCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_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.