list_users
async
¶
list_users(
account_id: NonEmptyString,
*,
config_overrides: Optional[AsyncChimeClientConfig] = 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/async_chime.py
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 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 | |