aws-sdk-mailmanager 1.87.0

AWS SDK for MailManager
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAddressListImportJob`](crate::operation::get_address_list_import_job::builders::GetAddressListImportJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_id(impl Into<String>)`](crate::operation::get_address_list_import_job::builders::GetAddressListImportJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::get_address_list_import_job::builders::GetAddressListImportJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The identifier of the import job that needs to be retrieved.</p><br>
    /// - On success, responds with [`GetAddressListImportJobOutput`](crate::operation::get_address_list_import_job::GetAddressListImportJobOutput) with field(s):
    ///   - [`job_id(String)`](crate::operation::get_address_list_import_job::GetAddressListImportJobOutput::job_id): <p>The identifier of the import job.</p>
    ///   - [`name(String)`](crate::operation::get_address_list_import_job::GetAddressListImportJobOutput::name): <p>A user-friendly name for the import job.</p>
    ///   - [`status(ImportJobStatus)`](crate::operation::get_address_list_import_job::GetAddressListImportJobOutput::status): <p>The status of the import job.</p>
    ///   - [`pre_signed_url(String)`](crate::operation::get_address_list_import_job::GetAddressListImportJobOutput::pre_signed_url): <p>The pre-signed URL target for uploading the input file.</p>
    ///   - [`imported_items_count(Option<i32>)`](crate::operation::get_address_list_import_job::GetAddressListImportJobOutput::imported_items_count): <p>The number of input addresses successfully imported into the address list.</p>
    ///   - [`failed_items_count(Option<i32>)`](crate::operation::get_address_list_import_job::GetAddressListImportJobOutput::failed_items_count): <p>The number of input addresses that failed to be imported into the address list.</p>
    ///   - [`import_data_format(Option<ImportDataFormat>)`](crate::operation::get_address_list_import_job::GetAddressListImportJobOutput::import_data_format): <p>The format of the input for an import job.</p>
    ///   - [`address_list_id(String)`](crate::operation::get_address_list_import_job::GetAddressListImportJobOutput::address_list_id): <p>The unique identifier of the address list the import job was created for.</p>
    ///   - [`created_timestamp(DateTime)`](crate::operation::get_address_list_import_job::GetAddressListImportJobOutput::created_timestamp): <p>The timestamp of when the import job was created.</p>
    ///   - [`start_timestamp(Option<DateTime>)`](crate::operation::get_address_list_import_job::GetAddressListImportJobOutput::start_timestamp): <p>The timestamp of when the import job was started.</p>
    ///   - [`completed_timestamp(Option<DateTime>)`](crate::operation::get_address_list_import_job::GetAddressListImportJobOutput::completed_timestamp): <p>The timestamp of when the import job was completed.</p>
    ///   - [`error(Option<String>)`](crate::operation::get_address_list_import_job::GetAddressListImportJobOutput::error): <p>The reason for failure of an import job.</p>
    /// - On failure, responds with [`SdkError<GetAddressListImportJobError>`](crate::operation::get_address_list_import_job::GetAddressListImportJobError)
    pub fn get_address_list_import_job(&self) -> crate::operation::get_address_list_import_job::builders::GetAddressListImportJobFluentBuilder {
        crate::operation::get_address_list_import_job::builders::GetAddressListImportJobFluentBuilder::new(self.handle.clone())
    }
}