list_archive_searches
async
¶
list_archive_searches(
archive_id: ArchiveId,
*,
config_overrides: Optional[AsyncMailManagerClientConfig] = None,
next_token: Optional[PaginationToken] = None,
page_size: Optional[PageSize] = None,
) -> ListArchiveSearchesResponse
Returns a list of email archive search jobs.
Parameters:
-
archive_id(ArchiveId) –The identifier of the archive.
-
next_token(Optional[PaginationToken], default:None) –If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
-
page_size(Optional[PageSize], default:None) –The maximum number of archive search jobs that are returned per call. You can use NextToken to obtain further pages of archives.
Raises:
-
AccessDeniedException–Occurs when a user is denied access to a specific resource or action.
-
ResourceNotFoundException–Occurs when a requested resource is not found.
-
ThrottlingException–Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
-
ValidationException–The request validation has failed. For details, see the accompanying error message.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mailmanager/_services/async_mail_manager.py
1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 | |