Struct aws_sdk_sagemaker::input::CreateModelPackageInput[][src]

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

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
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.

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_description: Option<String>

A description of the model package.

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.

validation_specification: Option<ModelPackageValidationSpecification>

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

source_algorithm_specification: Option<SourceAlgorithmSpecification>

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

certify_for_marketplace: bool

Whether to certify the model package for listing on Amazon Web Services Marketplace.

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

tags: Option<Vec<Tag>>

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

model_approval_status: Option<ModelApprovalStatus>

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.

metadata_properties: Option<MetadataProperties>

Metadata properties of the tracking entity, trial, or trial component.

model_metrics: Option<ModelMetrics>

A structure that contains model metrics reports.

client_token: Option<String>

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

Implementations

Consumes the builder and constructs an Operation<CreateModelPackage>

Creates a new builder-style object to manufacture CreateModelPackageInput

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

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

This method tests for !=.

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

Performs the conversion.

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

Performs the conversion.

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)

recently added

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