list_fraudsters
async
¶
list_fraudsters(
domain_id: DomainId,
*,
config_overrides: Optional[AsyncVoiceIDClientConfig] = None,
watchlist_id: Optional[WatchlistId] = None,
max_results: Optional[MaxResultsForList] = None,
next_token: Optional[NextToken] = None,
) -> ListFraudstersResponse
Lists all fraudsters in a specified watchlist or domain.
Parameters:
-
domain_id(DomainId) –The identifier of the domain.
-
watchlist_id(Optional[WatchlistId], default:None) –The identifier of the watchlist. If provided, all fraudsters in the watchlist are listed. If not provided, all fraudsters in the domain are listed.
-
max_results(Optional[MaxResultsForList], default:None) –The maximum number of results that are returned per call. You can use
NextTokento obtain more pages of results. The default is 100; the maximum allowed page size is also 100. -
next_token(Optional[NextToken], default:None) –If
NextTokenis returned, there are more results available. The value ofNextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action. Check the error message and try again.
-
InternalServerException–The request failed due to an unknown error on the server side.
-
ResourceNotFoundException–The specified resource cannot be found. Check the
ResourceTypeand error message for more details. -
ThrottlingException–The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
-
ValidationException–The request failed one or more validations; check the error message for more details.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_voice_id/_services/async_voice_id.py
1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 | |