list_users
¶
list_users(
account_id: NonEmptyString,
*,
config_overrides: Optional[ChimeClientConfig] = None,
user_email: Optional[EmailAddress] = None,
user_type: Optional[UserType] = None,
max_results: Optional[ProfileServiceMaxResults] = None,
next_token: Optional[String] = None,
) -> ListUsersResponse
Lists the users that belong to the specified Amazon Chime account. You can specify an email address to list only the user that the email address belongs to.
Parameters:
-
account_id(NonEmptyString) –The Amazon Chime account ID.
-
user_email(Optional[EmailAddress], default:None) –Optional. The user email address used to filter results. Maximum 1.
-
user_type(Optional[UserType], default:None) –The user type.
-
max_results(Optional[ProfileServiceMaxResults], default:None) –The maximum number of results to return in a single call. Defaults to 100.
-
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
3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 | |