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.