list_rooms
¶
list_rooms(
account_id: NonEmptyString,
*,
config_overrides: Optional[ChimeClientConfig] = None,
member_id: Optional[String] = None,
max_results: Optional[ResultMax] = None,
next_token: Optional[String] = None,
) -> ListRoomsResponse
Lists the room details for the specified Amazon Chime Enterprise account. Optionally, filter the results by a member ID (user ID or bot ID) to see a list of rooms that the member belongs to.
Parameters:
-
account_id(NonEmptyString) –The Amazon Chime account ID.
-
member_id(Optional[String], default:None) –The member ID (user ID or bot ID).
-
max_results(Optional[ResultMax], default:None) –The maximum number of results to return in a single call.
-
next_token(Optional[String], default:None) –The token to use to retrieve the next page of results.
Raises:
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
NotFoundException–One or more of the resources in the request does not exist in the system.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottledClientException–The client exceeded its request rate limit.
-
UnauthorizedClientException–The client is not currently authorized to make the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime/_services/chime.py
2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 | |