logo
pub struct CreateModelPackageInput {
    pub certify_for_marketplace: Option<bool>,
    pub client_token: Option<String>,
    pub inference_specification: Option<InferenceSpecification>,
    pub metadata_properties: Option<MetadataProperties>,
    pub model_approval_status: Option<String>,
    pub model_metrics: Option<ModelMetrics>,
    pub model_package_description: Option<String>,
    pub model_package_group_name: Option<String>,
    pub model_package_name: Option<String>,
    pub source_algorithm_specification: Option<SourceAlgorithmSpecification>,
    pub tags: Option<Vec<Tag>>,
    pub validation_specification: Option<ModelPackageValidationSpecification>,
}

Fields

certify_for_marketplace: Option<bool>

Whether to certify the model package for listing on AWS Marketplace.

This parameter is optional for unversioned models, and does not apply to versioned models.

client_token: Option<String>

A unique token that guarantees that the call to this API is idempotent.

inference_specification: Option<InferenceSpecification>

Specifies details about inference jobs that can be run with models based on this model package, including the following:

  • The Amazon ECR paths of containers that contain the inference code and model artifacts.

  • The instance types that the model package supports for transform jobs and real-time endpoints used for inference.

  • The input and output content formats that the model package supports for inference.

metadata_properties: Option<MetadataProperties>model_approval_status: Option<String>

Whether the model is approved for deployment.

This parameter is optional for versioned models, and does not apply to unversioned models.

For versioned models, the value of this parameter must be set to Approved to deploy the model.

model_metrics: Option<ModelMetrics>

A structure that contains model metrics reports.

model_package_description: Option<String>

A description of the model package.

model_package_group_name: Option<String>

The name of the model group that this model version belongs to.

This parameter is required for versioned models, and does not apply to unversioned models.

model_package_name: Option<String>

The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

This parameter is required for unversioned models. It is not applicable to versioned models.

source_algorithm_specification: Option<SourceAlgorithmSpecification>

Details about the algorithm that was used to create the model package.

tags: Option<Vec<Tag>>

A list of key value pairs associated with the model. For more information, see Tagging AWS resources in the AWS General Reference Guide.

validation_specification: Option<ModelPackageValidationSpecification>

Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more