aws_sdk_bedrock/client/get_model_copy_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 [`GetModelCopyJob`](crate::operation::get_model_copy_job::builders::GetModelCopyJobFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`job_arn(impl Into<String>)`](crate::operation::get_model_copy_job::builders::GetModelCopyJobFluentBuilder::job_arn) / [`set_job_arn(Option<String>)`](crate::operation::get_model_copy_job::builders::GetModelCopyJobFluentBuilder::set_job_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the model copy job.</p><br>
7 /// - On success, responds with [`GetModelCopyJobOutput`](crate::operation::get_model_copy_job::GetModelCopyJobOutput) with field(s):
8 /// - [`job_arn(String)`](crate::operation::get_model_copy_job::GetModelCopyJobOutput::job_arn): <p>The Amazon Resource Name (ARN) of the model copy job.</p>
9 /// - [`status(ModelCopyJobStatus)`](crate::operation::get_model_copy_job::GetModelCopyJobOutput::status): <p>The status of the model copy job.</p>
10 /// - [`creation_time(DateTime)`](crate::operation::get_model_copy_job::GetModelCopyJobOutput::creation_time): <p>The time at which the model copy job was created.</p>
11 /// - [`target_model_arn(String)`](crate::operation::get_model_copy_job::GetModelCopyJobOutput::target_model_arn): <p>The Amazon Resource Name (ARN) of the copied model.</p>
12 /// - [`target_model_name(Option<String>)`](crate::operation::get_model_copy_job::GetModelCopyJobOutput::target_model_name): <p>The name of the copied model.</p>
13 /// - [`source_account_id(String)`](crate::operation::get_model_copy_job::GetModelCopyJobOutput::source_account_id): <p>The unique identifier of the account that the model being copied originated from.</p>
14 /// - [`source_model_arn(String)`](crate::operation::get_model_copy_job::GetModelCopyJobOutput::source_model_arn): <p>The Amazon Resource Name (ARN) of the original model being copied.</p>
15 /// - [`target_model_kms_key_arn(Option<String>)`](crate::operation::get_model_copy_job::GetModelCopyJobOutput::target_model_kms_key_arn): <p>The Amazon Resource Name (ARN) of the KMS key encrypting the copied model.</p>
16 /// - [`target_model_tags(Option<Vec::<Tag>>)`](crate::operation::get_model_copy_job::GetModelCopyJobOutput::target_model_tags): <p>The tags associated with the copied model.</p>
17 /// - [`failure_message(Option<String>)`](crate::operation::get_model_copy_job::GetModelCopyJobOutput::failure_message): <p>An error message for why the model copy job failed.</p>
18 /// - [`source_model_name(Option<String>)`](crate::operation::get_model_copy_job::GetModelCopyJobOutput::source_model_name): <p>The name of the original model being copied.</p>
19 /// - On failure, responds with [`SdkError<GetModelCopyJobError>`](crate::operation::get_model_copy_job::GetModelCopyJobError)
20 pub fn get_model_copy_job(&self) -> crate::operation::get_model_copy_job::builders::GetModelCopyJobFluentBuilder {
21 crate::operation::get_model_copy_job::builders::GetModelCopyJobFluentBuilder::new(self.handle.clone())
22 }
23}