aws_sdk_pinpoint/client/
get_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 [`GetExportJob`](crate::operation::get_export_job::builders::GetExportJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::get_export_job::builders::GetExportJobFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_export_job::builders::GetExportJobFluentBuilder::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    ///   - [`job_id(impl Into<String>)`](crate::operation::get_export_job::builders::GetExportJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::get_export_job::builders::GetExportJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The unique identifier for the job.</p><br>
8    /// - On success, responds with [`GetExportJobOutput`](crate::operation::get_export_job::GetExportJobOutput) with field(s):
9    ///   - [`export_job_response(Option<ExportJobResponse>)`](crate::operation::get_export_job::GetExportJobOutput::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<GetExportJobError>`](crate::operation::get_export_job::GetExportJobError)
11    pub fn get_export_job(&self) -> crate::operation::get_export_job::builders::GetExportJobFluentBuilder {
12        crate::operation::get_export_job::builders::GetExportJobFluentBuilder::new(self.handle.clone())
13    }
14}