cancel_mailbox_export_job
async
¶
cancel_mailbox_export_job(
client_token: IdempotencyClientToken,
job_id: MailboxExportJobId,
organization_id: OrganizationId,
*,
config_overrides: Optional[AsyncWorkMailClientConfig] = None,
) -> CancelMailboxExportJobResponse
Cancels a mailbox export job.
If the mailbox export job is near completion, it might not be possible to cancel it.
Parameters:
-
client_token(IdempotencyClientToken) –The idempotency token for the client request.
-
job_id(MailboxExportJobId) –The job ID.
-
organization_id(OrganizationId) –The organization ID.
Raises:
-
EntityNotFoundException–The identifier supplied for the user, group, or resource does not exist in your organization.
-
InvalidParameterException–One or more of the input parameters don't match the service's restrictions.
-
OrganizationNotFoundException–An operation received a valid organization identifier that either doesn't belong or exist in the system.
-
OrganizationStateException–The organization must have a valid state to perform certain operations on the organization or its members.
-
UnknownServiceError–The service returned an error code this client does not model.