aws_sdk_pinpoint/client/
get_import_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 [`GetImportJob`](crate::operation::get_import_job::builders::GetImportJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::get_import_job::builders::GetImportJobFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_import_job::builders::GetImportJobFluentBuilder::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_import_job::builders::GetImportJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::get_import_job::builders::GetImportJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The unique identifier for the job.</p><br>
8    /// - On success, responds with [`GetImportJobOutput`](crate::operation::get_import_job::GetImportJobOutput) with field(s):
9    ///   - [`import_job_response(Option<ImportJobResponse>)`](crate::operation::get_import_job::GetImportJobOutput::import_job_response): <p>Provides information about the status and settings of a job that imports endpoint definitions from one or more files. The files can be stored in an Amazon Simple Storage Service (Amazon S3) bucket or uploaded directly from a computer by using the Amazon Pinpoint console.</p>
10    /// - On failure, responds with [`SdkError<GetImportJobError>`](crate::operation::get_import_job::GetImportJobError)
11    pub fn get_import_job(&self) -> crate::operation::get_import_job::builders::GetImportJobFluentBuilder {
12        crate::operation::get_import_job::builders::GetImportJobFluentBuilder::new(self.handle.clone())
13    }
14}