#[non_exhaustive]pub struct UpdateModelPackageInput {
pub model_package_arn: Option<String>,
pub model_approval_status: Option<ModelApprovalStatus>,
pub approval_description: Option<String>,
pub customer_metadata_properties: Option<HashMap<String, String>>,
pub customer_metadata_properties_to_remove: Option<Vec<String>>,
pub additional_inference_specifications_to_add: Option<Vec<AdditionalInferenceSpecificationDefinition>>,
}
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_arn: Option<String>
The Amazon Resource Name (ARN) of the model package.
model_approval_status: Option<ModelApprovalStatus>
The approval status of the model.
approval_description: Option<String>
A description for the approval status of the model.
customer_metadata_properties: Option<HashMap<String, String>>
The metadata properties associated with the model package versions.
customer_metadata_properties_to_remove: Option<Vec<String>>
The metadata properties associated with the model package versions to remove.
additional_inference_specifications_to_add: Option<Vec<AdditionalInferenceSpecificationDefinition>>
An array of additional Inference Specification objects to be added to the existing array additional Inference Specification. Total number of additional Inference Specifications can not exceed 15. 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.
Implementations§
source§impl UpdateModelPackageInput
impl UpdateModelPackageInput
sourcepub fn model_package_arn(&self) -> Option<&str>
pub fn model_package_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the model package.
sourcepub fn model_approval_status(&self) -> Option<&ModelApprovalStatus>
pub fn model_approval_status(&self) -> Option<&ModelApprovalStatus>
The approval status of the model.
sourcepub fn approval_description(&self) -> Option<&str>
pub fn approval_description(&self) -> Option<&str>
A description for the approval status of the model.
sourcepub fn customer_metadata_properties(&self) -> Option<&HashMap<String, String>>
pub fn customer_metadata_properties(&self) -> Option<&HashMap<String, String>>
The metadata properties associated with the model package versions.
sourcepub fn customer_metadata_properties_to_remove(&self) -> &[String]
pub fn customer_metadata_properties_to_remove(&self) -> &[String]
The metadata properties associated with the model package versions to remove.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .customer_metadata_properties_to_remove.is_none()
.
sourcepub fn additional_inference_specifications_to_add(
&self
) -> &[AdditionalInferenceSpecificationDefinition]
pub fn additional_inference_specifications_to_add( &self ) -> &[AdditionalInferenceSpecificationDefinition]
An array of additional Inference Specification objects to be added to the existing array additional Inference Specification. Total number of additional Inference Specifications can not exceed 15. 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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .additional_inference_specifications_to_add.is_none()
.
source§impl UpdateModelPackageInput
impl UpdateModelPackageInput
sourcepub fn builder() -> UpdateModelPackageInputBuilder
pub fn builder() -> UpdateModelPackageInputBuilder
Creates a new builder-style object to manufacture UpdateModelPackageInput
.
Trait Implementations§
source§impl Clone for UpdateModelPackageInput
impl Clone for UpdateModelPackageInput
source§fn clone(&self) -> UpdateModelPackageInput
fn clone(&self) -> UpdateModelPackageInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateModelPackageInput
impl Debug for UpdateModelPackageInput
source§impl PartialEq for UpdateModelPackageInput
impl PartialEq for UpdateModelPackageInput
source§fn eq(&self, other: &UpdateModelPackageInput) -> bool
fn eq(&self, other: &UpdateModelPackageInput) -> bool
self
and other
values to be equal, and is used
by ==
.