Struct aws_sdk_workmail::operation::start_mailbox_export_job::builders::StartMailboxExportJobFluentBuilder
source · pub struct StartMailboxExportJobFluentBuilder { /* private fields */ }
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 WorkMail Administrator Guide.
Implementations§
source§impl StartMailboxExportJobFluentBuilder
impl StartMailboxExportJobFluentBuilder
sourcepub async fn send(
self
) -> Result<StartMailboxExportJobOutput, SdkError<StartMailboxExportJobError>>
pub async fn send( self ) -> Result<StartMailboxExportJobOutput, SdkError<StartMailboxExportJobError>>
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.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartMailboxExportJob, AwsResponseRetryClassifier>, SdkError<StartMailboxExportJobError>>
pub async fn customize( self ) -> Result<CustomizableOperation<StartMailboxExportJob, AwsResponseRetryClassifier>, SdkError<StartMailboxExportJobError>>
Consumes this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The idempotency token for the client request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The idempotency token for the client request.
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The identifier associated with the organization.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The identifier associated with the organization.
sourcepub fn entity_id(self, input: impl Into<String>) -> Self
pub fn entity_id(self, input: impl Into<String>) -> Self
The identifier of the user or resource associated with the mailbox.
sourcepub fn set_entity_id(self, input: Option<String>) -> Self
pub fn set_entity_id(self, input: Option<String>) -> Self
The identifier of the user or resource associated with the mailbox.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The mailbox export job description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The mailbox export job description.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the S3 bucket.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the S3 bucket.
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.
sourcepub fn s3_bucket_name(self, input: impl Into<String>) -> Self
pub fn s3_bucket_name(self, input: impl Into<String>) -> Self
The name of the S3 bucket.
sourcepub fn set_s3_bucket_name(self, input: Option<String>) -> Self
pub fn set_s3_bucket_name(self, input: Option<String>) -> Self
The name of the S3 bucket.
sourcepub fn set_s3_prefix(self, input: Option<String>) -> Self
pub fn set_s3_prefix(self, input: Option<String>) -> Self
The S3 bucket prefix.
Trait Implementations§
source§impl Clone for StartMailboxExportJobFluentBuilder
impl Clone for StartMailboxExportJobFluentBuilder
source§fn clone(&self) -> StartMailboxExportJobFluentBuilder
fn clone(&self) -> StartMailboxExportJobFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more