aws_sdk_workmail/client/cancel_mailbox_export_job.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CancelMailboxExportJob`](crate::operation::cancel_mailbox_export_job::builders::CancelMailboxExportJobFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`CancelMailboxExportJobOutput`](crate::operation::cancel_mailbox_export_job::CancelMailboxExportJobOutput)
10 /// - On failure, responds with [`SdkError<CancelMailboxExportJobError>`](crate::operation::cancel_mailbox_export_job::CancelMailboxExportJobError)
11 pub fn cancel_mailbox_export_job(&self) -> crate::operation::cancel_mailbox_export_job::builders::CancelMailboxExportJobFluentBuilder {
12 crate::operation::cancel_mailbox_export_job::builders::CancelMailboxExportJobFluentBuilder::new(self.handle.clone())
13 }
14}