search_rooms
(**kwargs)¶Searches rooms and lists the ones that meet a set of filter and sort criteria.
See also: AWS API Documentation
Request Syntax
response = client.search_rooms(
NextToken='string',
MaxResults=123,
Filters=[
{
'Key': 'string',
'Values': [
'string',
]
},
],
SortCriteria=[
{
'Key': 'string',
'Value': 'ASC'|'DESC'
},
]
)
MaxResults
.MaxResults
value, a token is included in the response so that the remaining results can be retrieved.The filters to use to list a specified set of rooms. The supported filter keys are RoomName and ProfileName.
A filter name and value pair that is used to return a more specific list of results. Filters can be used to match a set of resources by various criteria.
The key of a filter.
The values of a filter.
The sort order to use in listing the specified set of rooms. The supported sort keys are RoomName and ProfileName.
An object representing a sort criteria.
The sort key of a sort object.
The sort value of a sort object.
dict
Response Syntax
{
'Rooms': [
{
'RoomArn': 'string',
'RoomName': 'string',
'Description': 'string',
'ProviderCalendarId': 'string',
'ProfileArn': 'string',
'ProfileName': 'string'
},
],
'NextToken': 'string',
'TotalCount': 123
}
Response Structure
(dict) --
Rooms (list) --
The rooms that meet the specified set of filter criteria, in sort order.
(dict) --
The data of a room.
RoomArn (string) --
The ARN of a room.
RoomName (string) --
The name of a room.
Description (string) --
The description of a room.
ProviderCalendarId (string) --
The provider calendar ARN of a room.
ProfileArn (string) --
The profile ARN of a room.
ProfileName (string) --
The profile name of a room.
NextToken (string) --
The token returned to indicate that there is more data available.
TotalCount (integer) --
The total number of rooms returned.