aws_sdk_workmail/client/
cancel_mailbox_export_job.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CancelMailboxExportJob`](crate::operation::cancel_mailbox_export_job::builders::CancelMailboxExportJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_token(impl Into<String>)`](crate::operation::cancel_mailbox_export_job::builders::CancelMailboxExportJobFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::cancel_mailbox_export_job::builders::CancelMailboxExportJobFluentBuilder::set_client_token):<br>required: **true**<br><p>The idempotency token for the client request.</p><br>
    ///   - [`job_id(impl Into<String>)`](crate::operation::cancel_mailbox_export_job::builders::CancelMailboxExportJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::cancel_mailbox_export_job::builders::CancelMailboxExportJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The job ID.</p><br>
    ///   - [`organization_id(impl Into<String>)`](crate::operation::cancel_mailbox_export_job::builders::CancelMailboxExportJobFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::cancel_mailbox_export_job::builders::CancelMailboxExportJobFluentBuilder::set_organization_id):<br>required: **true**<br><p>The organization ID.</p><br>
    /// - On success, responds with [`CancelMailboxExportJobOutput`](crate::operation::cancel_mailbox_export_job::CancelMailboxExportJobOutput)
    /// - On failure, responds with [`SdkError<CancelMailboxExportJobError>`](crate::operation::cancel_mailbox_export_job::CancelMailboxExportJobError)
    pub fn cancel_mailbox_export_job(&self) -> crate::operation::cancel_mailbox_export_job::builders::CancelMailboxExportJobFluentBuilder {
        crate::operation::cancel_mailbox_export_job::builders::CancelMailboxExportJobFluentBuilder::new(self.handle.clone())
    }
}