start_mailbox_export_job
(**kwargs)¶Starts a mailbox export job to export MIME-format email messages and calendar items from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Exporting mailbox content in the WorkMail Administrator Guide .
See also: AWS API Documentation
Request Syntax
response = client.start_mailbox_export_job(
ClientToken='string',
OrganizationId='string',
EntityId='string',
Description='string',
RoleArn='string',
KmsKeyArn='string',
S3BucketName='string',
S3Prefix='string'
)
[REQUIRED]
The idempotency token for the client request.
This field is autopopulated if not provided.
[REQUIRED]
The identifier associated with the organization.
[REQUIRED]
The identifier of the user or resource associated with the mailbox.
[REQUIRED]
The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the S3 bucket.
[REQUIRED]
The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.
[REQUIRED]
The name of the S3 bucket.
[REQUIRED]
The S3 bucket prefix.
dict
Response Syntax
{
'JobId': 'string'
}
Response Structure
(dict) --
JobId (string) --
The job ID.
Exceptions
WorkMail.Client.exceptions.InvalidParameterException
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException
WorkMail.Client.exceptions.EntityNotFoundException
WorkMail.Client.exceptions.LimitExceededException