start_archive_export
¶
start_archive_export(
archive_id: ArchiveId,
from_timestamp: datetime,
to_timestamp: datetime,
export_destination_configuration: ExportDestinationConfiguration,
*,
config_overrides: Optional[MailManagerClientConfig] = None,
filters: Optional[ArchiveFilters] = None,
max_results: Optional[ExportMaxResults] = None,
include_metadata: Optional[bool] = None,
) -> StartArchiveExportResponse
Initiates an export of emails from the specified archive.
Parameters:
-
archive_id(ArchiveId) –The identifier of the archive to export emails from.
-
filters(Optional[ArchiveFilters], default:None) –Criteria to filter which emails are included in the export.
-
from_timestamp(datetime) –The start of the timestamp range to include emails from.
-
to_timestamp(datetime) –The end of the timestamp range to include emails from.
-
max_results(Optional[ExportMaxResults], default:None) –The maximum number of email items to include in the export.
-
export_destination_configuration(ExportDestinationConfiguration) –Details on where to deliver the exported email data.
-
include_metadata(Optional[bool], default:None) –Whether to include message metadata as JSON files in the export.
Raises:
-
AccessDeniedException–Occurs when a user is denied access to a specific resource or action.
-
ResourceNotFoundException–Occurs when a requested resource is not found.
-
ServiceQuotaExceededException–Occurs when an operation exceeds a predefined service quota or limit.
-
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/mail_manager.py
1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 | |