aws_sdk_sesv2/client/
create_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 [`CreateExportJob`](crate::operation::create_export_job::builders::CreateExportJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`export_data_source(ExportDataSource)`](crate::operation::create_export_job::builders::CreateExportJobFluentBuilder::export_data_source) / [`set_export_data_source(Option<ExportDataSource>)`](crate::operation::create_export_job::builders::CreateExportJobFluentBuilder::set_export_data_source):<br>required: **true**<br><p>The data source for the export job.</p><br>
7    ///   - [`export_destination(ExportDestination)`](crate::operation::create_export_job::builders::CreateExportJobFluentBuilder::export_destination) / [`set_export_destination(Option<ExportDestination>)`](crate::operation::create_export_job::builders::CreateExportJobFluentBuilder::set_export_destination):<br>required: **true**<br><p>The destination for the export job.</p><br>
8    /// - On success, responds with [`CreateExportJobOutput`](crate::operation::create_export_job::CreateExportJobOutput) with field(s):
9    ///   - [`job_id(Option<String>)`](crate::operation::create_export_job::CreateExportJobOutput::job_id): <p>A string that represents the export job ID.</p>
10    /// - On failure, responds with [`SdkError<CreateExportJobError>`](crate::operation::create_export_job::CreateExportJobError)
11    pub fn create_export_job(&self) -> crate::operation::create_export_job::builders::CreateExportJobFluentBuilder {
12        crate::operation::create_export_job::builders::CreateExportJobFluentBuilder::new(self.handle.clone())
13    }
14}