aws_sdk_mailmanager/client/get_archive_export.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 [`GetArchiveExport`](crate::operation::get_archive_export::builders::GetArchiveExportFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`export_id(impl Into<String>)`](crate::operation::get_archive_export::builders::GetArchiveExportFluentBuilder::export_id) / [`set_export_id(Option<String>)`](crate::operation::get_archive_export::builders::GetArchiveExportFluentBuilder::set_export_id):<br>required: **true**<br><p>The identifier of the export job to get details for.</p><br>
7 /// - On success, responds with [`GetArchiveExportOutput`](crate::operation::get_archive_export::GetArchiveExportOutput) with field(s):
8 /// - [`archive_id(Option<String>)`](crate::operation::get_archive_export::GetArchiveExportOutput::archive_id): <p>The identifier of the archive the email export was performed from.</p>
9 /// - [`filters(Option<ArchiveFilters>)`](crate::operation::get_archive_export::GetArchiveExportOutput::filters): <p>The criteria used to filter emails included in the export.</p>
10 /// - [`from_timestamp(Option<DateTime>)`](crate::operation::get_archive_export::GetArchiveExportOutput::from_timestamp): <p>The start of the timestamp range the exported emails cover.</p>
11 /// - [`to_timestamp(Option<DateTime>)`](crate::operation::get_archive_export::GetArchiveExportOutput::to_timestamp): <p>The end of the date range the exported emails cover.</p>
12 /// - [`max_results(Option<i32>)`](crate::operation::get_archive_export::GetArchiveExportOutput::max_results): <p>The maximum number of email items included in the export.</p>
13 /// - [`export_destination_configuration(Option<ExportDestinationConfiguration>)`](crate::operation::get_archive_export::GetArchiveExportOutput::export_destination_configuration): <p>Where the exported emails are being delivered.</p>
14 /// - [`status(Option<ExportStatus>)`](crate::operation::get_archive_export::GetArchiveExportOutput::status): <p>The current status of the export job.</p>
15 /// - On failure, responds with [`SdkError<GetArchiveExportError>`](crate::operation::get_archive_export::GetArchiveExportError)
16 pub fn get_archive_export(&self) -> crate::operation::get_archive_export::builders::GetArchiveExportFluentBuilder {
17 crate::operation::get_archive_export::builders::GetArchiveExportFluentBuilder::new(self.handle.clone())
18 }
19}