[][src]Struct rusoto_sagemaker::CreateModelPackageInput

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

impl Clone for CreateModelPackageInput[src]

impl Debug for CreateModelPackageInput[src]

impl Default for CreateModelPackageInput[src]

impl PartialEq<CreateModelPackageInput> for CreateModelPackageInput[src]

impl Serialize for CreateModelPackageInput[src]

impl StructuralPartialEq for CreateModelPackageInput[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.