aws_sdk_sagemaker/client/
describe_model_card_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 [`DescribeModelCardExportJob`](crate::operation::describe_model_card_export_job::builders::DescribeModelCardExportJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`model_card_export_job_arn(impl Into<String>)`](crate::operation::describe_model_card_export_job::builders::DescribeModelCardExportJobFluentBuilder::model_card_export_job_arn) / [`set_model_card_export_job_arn(Option<String>)`](crate::operation::describe_model_card_export_job::builders::DescribeModelCardExportJobFluentBuilder::set_model_card_export_job_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the model card export job to describe.</p><br>
7    /// - On success, responds with [`DescribeModelCardExportJobOutput`](crate::operation::describe_model_card_export_job::DescribeModelCardExportJobOutput) with field(s):
8    ///   - [`model_card_export_job_name(Option<String>)`](crate::operation::describe_model_card_export_job::DescribeModelCardExportJobOutput::model_card_export_job_name): <p>The name of the model card export job to describe.</p>
9    ///   - [`model_card_export_job_arn(Option<String>)`](crate::operation::describe_model_card_export_job::DescribeModelCardExportJobOutput::model_card_export_job_arn): <p>The Amazon Resource Name (ARN) of the model card export job.</p>
10    ///   - [`status(Option<ModelCardExportJobStatus>)`](crate::operation::describe_model_card_export_job::DescribeModelCardExportJobOutput::status): <p>The completion status of the model card export job.</p> <ul>  <li>   <p><code>InProgress</code>: The model card export job is in progress.</p></li>  <li>   <p><code>Completed</code>: The model card export job is complete.</p></li>  <li>   <p><code>Failed</code>: The model card export job failed. To see the reason for the failure, see the <code>FailureReason</code> field in the response to a <code>DescribeModelCardExportJob</code> call.</p></li> </ul>
11    ///   - [`model_card_name(Option<String>)`](crate::operation::describe_model_card_export_job::DescribeModelCardExportJobOutput::model_card_name): <p>The name or Amazon Resource Name (ARN) of the model card that the model export job exports.</p>
12    ///   - [`model_card_version(Option<i32>)`](crate::operation::describe_model_card_export_job::DescribeModelCardExportJobOutput::model_card_version): <p>The version of the model card that the model export job exports.</p>
13    ///   - [`output_config(Option<ModelCardExportOutputConfig>)`](crate::operation::describe_model_card_export_job::DescribeModelCardExportJobOutput::output_config): <p>The export output details for the model card.</p>
14    ///   - [`created_at(Option<DateTime>)`](crate::operation::describe_model_card_export_job::DescribeModelCardExportJobOutput::created_at): <p>The date and time that the model export job was created.</p>
15    ///   - [`last_modified_at(Option<DateTime>)`](crate::operation::describe_model_card_export_job::DescribeModelCardExportJobOutput::last_modified_at): <p>The date and time that the model export job was last modified.</p>
16    ///   - [`failure_reason(Option<String>)`](crate::operation::describe_model_card_export_job::DescribeModelCardExportJobOutput::failure_reason): <p>The failure reason if the model export job fails.</p>
17    ///   - [`export_artifacts(Option<ModelCardExportArtifacts>)`](crate::operation::describe_model_card_export_job::DescribeModelCardExportJobOutput::export_artifacts): <p>The exported model card artifacts.</p>
18    /// - On failure, responds with [`SdkError<DescribeModelCardExportJobError>`](crate::operation::describe_model_card_export_job::DescribeModelCardExportJobError)
19    pub fn describe_model_card_export_job(
20        &self,
21    ) -> crate::operation::describe_model_card_export_job::builders::DescribeModelCardExportJobFluentBuilder {
22        crate::operation::describe_model_card_export_job::builders::DescribeModelCardExportJobFluentBuilder::new(self.handle.clone())
23    }
24}