Struct aws_sdk_workmail::client::fluent_builders::StartMailboxExportJob [−][src]
pub struct StartMailboxExportJob<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StartMailboxExportJob
.
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 Amazon WorkMail Administrator Guide.
Implementations
impl<C, M, R> StartMailboxExportJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartMailboxExportJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartMailboxExportJobOutput, SdkError<StartMailboxExportJobError>> where
R::Policy: SmithyRetryPolicy<StartMailboxExportJobInputOperationOutputAlias, StartMailboxExportJobOutput, StartMailboxExportJobError, StartMailboxExportJobInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartMailboxExportJobOutput, SdkError<StartMailboxExportJobError>> where
R::Policy: SmithyRetryPolicy<StartMailboxExportJobInputOperationOutputAlias, StartMailboxExportJobOutput, StartMailboxExportJobError, StartMailboxExportJobInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The idempotency token for the client request.
The idempotency token for the client request.
The identifier associated with the organization.
The identifier associated with the organization.
The identifier of the user or resource associated with the mailbox.
The identifier of the user or resource associated with the mailbox.
The mailbox export job description.
The mailbox export job description.
The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the S3 bucket.
The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the S3 bucket.
The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.
The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.
The name of the S3 bucket.
The name of the S3 bucket.
The S3 bucket prefix.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for StartMailboxExportJob<C, M, R>
impl<C, M, R> Send for StartMailboxExportJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartMailboxExportJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartMailboxExportJob<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for StartMailboxExportJob<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more