aws_sdk_pinpoint/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 /// - [`application_id(impl Into<String>)`](crate::operation::create_export_job::builders::CreateExportJobFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::create_export_job::builders::CreateExportJobFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p><br>
7 /// - [`export_job_request(ExportJobRequest)`](crate::operation::create_export_job::builders::CreateExportJobFluentBuilder::export_job_request) / [`set_export_job_request(Option<ExportJobRequest>)`](crate::operation::create_export_job::builders::CreateExportJobFluentBuilder::set_export_job_request):<br>required: **true**<br><p>Specifies the settings for a job that exports endpoint definitions to an Amazon Simple Storage Service (Amazon S3) bucket.</p><br>
8 /// - On success, responds with [`CreateExportJobOutput`](crate::operation::create_export_job::CreateExportJobOutput) with field(s):
9 /// - [`export_job_response(Option<ExportJobResponse>)`](crate::operation::create_export_job::CreateExportJobOutput::export_job_response): <p>Provides information about the status and settings of a job that exports endpoint definitions to a file. The file can be added directly to an Amazon Simple Storage Service (Amazon S3) bucket by using the Amazon Pinpoint API or downloaded directly to a computer by using the Amazon Pinpoint console.</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}