1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeModelPackage`](crate::operation::describe_model_package::builders::DescribeModelPackageFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`model_package_name(impl Into<String>)`](crate::operation::describe_model_package::builders::DescribeModelPackageFluentBuilder::model_package_name) / [`set_model_package_name(Option<String>)`](crate::operation::describe_model_package::builders::DescribeModelPackageFluentBuilder::set_model_package_name):<br>required: **true**<br><p>The name or Amazon Resource Name (ARN) of the model package to describe.</p> <p>When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).</p><br>
    /// - On success, responds with [`DescribeModelPackageOutput`](crate::operation::describe_model_package::DescribeModelPackageOutput) with field(s):
    ///   - [`model_package_name(Option<String>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::model_package_name): <p>The name of the model package being described.</p>
    ///   - [`model_package_group_name(Option<String>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::model_package_group_name): <p>If the model is a versioned model, the name of the model group that the versioned model belongs to.</p>
    ///   - [`model_package_version(Option<i32>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::model_package_version): <p>The version of the model package.</p>
    ///   - [`model_package_arn(Option<String>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::model_package_arn): <p>The Amazon Resource Name (ARN) of the model package.</p>
    ///   - [`model_package_description(Option<String>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::model_package_description): <p>A brief summary of the model package.</p>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::creation_time): <p>A timestamp specifying when the model package was created.</p>
    ///   - [`inference_specification(Option<InferenceSpecification>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::inference_specification): <p>Details about inference jobs that can be run with models based on this model package.</p>
    ///   - [`source_algorithm_specification(Option<SourceAlgorithmSpecification>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::source_algorithm_specification): <p>Details about the algorithm that was used to create the model package.</p>
    ///   - [`validation_specification(Option<ModelPackageValidationSpecification>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::validation_specification): <p>Configurations for one or more transform jobs that SageMaker runs to test the model package.</p>
    ///   - [`model_package_status(Option<ModelPackageStatus>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::model_package_status): <p>The current status of the model package.</p>
    ///   - [`model_package_status_details(Option<ModelPackageStatusDetails>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::model_package_status_details): <p>Details about the current status of the model package.</p>
    ///   - [`certify_for_marketplace(Option<bool>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::certify_for_marketplace): <p>Whether the model package is certified for listing on Amazon Web Services Marketplace.</p>
    ///   - [`model_approval_status(Option<ModelApprovalStatus>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::model_approval_status): <p>The approval status of the model package.</p>
    ///   - [`created_by(Option<UserContext>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::created_by): <p>Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.</p>
    ///   - [`metadata_properties(Option<MetadataProperties>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::metadata_properties): <p>Metadata properties of the tracking entity, trial, or trial component.</p>
    ///   - [`model_metrics(Option<ModelMetrics>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::model_metrics): <p>Metrics for the model.</p>
    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::last_modified_time): <p>The last time that the model package was modified.</p>
    ///   - [`last_modified_by(Option<UserContext>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::last_modified_by): <p>Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.</p>
    ///   - [`approval_description(Option<String>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::approval_description): <p>A description provided for the model approval.</p>
    ///   - [`customer_metadata_properties(Option<HashMap::<String, String>>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::customer_metadata_properties): <p>The metadata properties associated with the model package versions.</p>
    ///   - [`drift_check_baselines(Option<DriftCheckBaselines>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::drift_check_baselines): <p>Represents the drift check baselines that can be used when the model monitor is set using the model package. For more information, see the topic on <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/pipelines-quality-clarify-baseline-lifecycle.html#pipelines-quality-clarify-baseline-drift-detection">Drift Detection against Previous Baselines in SageMaker Pipelines</a> in the <i>Amazon SageMaker Developer Guide</i>.</p>
    ///   - [`domain(Option<String>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::domain): <p>The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing.</p>
    ///   - [`task(Option<String>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::task): <p>The machine learning task you specified that your model package accomplishes. Common machine learning tasks include object detection and image classification.</p>
    ///   - [`sample_payload_url(Option<String>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::sample_payload_url): <p>The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a single gzip compressed tar archive (.tar.gz suffix).</p>
    ///   - [`additional_inference_specifications(Option<Vec::<AdditionalInferenceSpecificationDefinition>>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::additional_inference_specifications): <p>An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.</p>
    ///   - [`skip_model_validation(Option<SkipModelValidation>)`](crate::operation::describe_model_package::DescribeModelPackageOutput::skip_model_validation): <p>Indicates if you want to skip model validation.</p>
    /// - On failure, responds with [`SdkError<DescribeModelPackageError>`](crate::operation::describe_model_package::DescribeModelPackageError)
    pub fn describe_model_package(&self) -> crate::operation::describe_model_package::builders::DescribeModelPackageFluentBuilder {
        crate::operation::describe_model_package::builders::DescribeModelPackageFluentBuilder::new(self.handle.clone())
    }
}