aws_sdk_bedrock/client/get_model_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 [`GetModelImportJob`](crate::operation::get_model_import_job::builders::GetModelImportJobFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`job_identifier(impl Into<String>)`](crate::operation::get_model_import_job::builders::GetModelImportJobFluentBuilder::job_identifier) / [`set_job_identifier(Option<String>)`](crate::operation::get_model_import_job::builders::GetModelImportJobFluentBuilder::set_job_identifier):<br>required: **true**<br><p>The identifier of the import job.</p><br>
7 /// - On success, responds with [`GetModelImportJobOutput`](crate::operation::get_model_import_job::GetModelImportJobOutput) with field(s):
8 /// - [`job_arn(Option<String>)`](crate::operation::get_model_import_job::GetModelImportJobOutput::job_arn): <p>The Amazon Resource Name (ARN) of the import job.</p>
9 /// - [`job_name(Option<String>)`](crate::operation::get_model_import_job::GetModelImportJobOutput::job_name): <p>The name of the import job.</p>
10 /// - [`imported_model_name(Option<String>)`](crate::operation::get_model_import_job::GetModelImportJobOutput::imported_model_name): <p>The name of the imported model.</p>
11 /// - [`imported_model_arn(Option<String>)`](crate::operation::get_model_import_job::GetModelImportJobOutput::imported_model_arn): <p>The Amazon Resource Name (ARN) of the imported model.</p>
12 /// - [`role_arn(Option<String>)`](crate::operation::get_model_import_job::GetModelImportJobOutput::role_arn): <p>The Amazon Resource Name (ARN) of the IAM role associated with this job.</p>
13 /// - [`model_data_source(Option<ModelDataSource>)`](crate::operation::get_model_import_job::GetModelImportJobOutput::model_data_source): <p>The data source for the imported model.</p>
14 /// - [`status(Option<ModelImportJobStatus>)`](crate::operation::get_model_import_job::GetModelImportJobOutput::status): <p>The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use. If the job failed, the failure message contains information about why the job failed.</p>
15 /// - [`failure_message(Option<String>)`](crate::operation::get_model_import_job::GetModelImportJobOutput::failure_message): <p>Information about why the import job failed.</p>
16 /// - [`creation_time(Option<DateTime>)`](crate::operation::get_model_import_job::GetModelImportJobOutput::creation_time): <p>The time the resource was created.</p>
17 /// - [`last_modified_time(Option<DateTime>)`](crate::operation::get_model_import_job::GetModelImportJobOutput::last_modified_time): <p>Time the resource was last modified.</p>
18 /// - [`end_time(Option<DateTime>)`](crate::operation::get_model_import_job::GetModelImportJobOutput::end_time): <p>Time that the resource transitioned to terminal state.</p>
19 /// - [`vpc_config(Option<VpcConfig>)`](crate::operation::get_model_import_job::GetModelImportJobOutput::vpc_config): <p>The Virtual Private Cloud (VPC) configuration of the import model job.</p>
20 /// - [`imported_model_kms_key_arn(Option<String>)`](crate::operation::get_model_import_job::GetModelImportJobOutput::imported_model_kms_key_arn): <p>The imported model is encrypted at rest using this key.</p>
21 /// - On failure, responds with [`SdkError<GetModelImportJobError>`](crate::operation::get_model_import_job::GetModelImportJobError)
22 pub fn get_model_import_job(&self) -> crate::operation::get_model_import_job::builders::GetModelImportJobFluentBuilder {
23 crate::operation::get_model_import_job::builders::GetModelImportJobFluentBuilder::new(self.handle.clone())
24 }
25}