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
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.
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
pub fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateModelPackage, AwsErrorRetryPolicy>, BuildError>
pub fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateModelPackage, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateModelPackage
>
Creates a new builder-style object to manufacture CreateModelPackageInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateModelPackageInput
impl Send for CreateModelPackageInput
impl Sync for CreateModelPackageInput
impl Unpin for CreateModelPackageInput
impl UnwindSafe for CreateModelPackageInput
Blanket Implementations
Mutably borrows from an owned value. Read more
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