sagemaker_update_model_package: Updates a versioned model

View source: R/sagemaker_operations.R

sagemaker_update_model_packageR Documentation

Updates a versioned model

Description

Updates a versioned model.

See https://www.paws-r-sdk.com/docs/sagemaker_update_model_package/ for full documentation.

Usage

sagemaker_update_model_package(
  ModelPackageArn,
  ModelApprovalStatus = NULL,
  ApprovalDescription = NULL,
  CustomerMetadataProperties = NULL,
  CustomerMetadataPropertiesToRemove = NULL,
  AdditionalInferenceSpecificationsToAdd = NULL,
  InferenceSpecification = NULL,
  SourceUri = NULL,
  ModelCard = NULL
)

Arguments

ModelPackageArn

[required] The Amazon Resource Name (ARN) of the model package.

ModelApprovalStatus

The approval status of the model.

ApprovalDescription

A description for the approval status of the model.

CustomerMetadataProperties

The metadata properties associated with the model package versions.

CustomerMetadataPropertiesToRemove

The metadata properties associated with the model package versions to remove.

AdditionalInferenceSpecificationsToAdd

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.

InferenceSpecification

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

  • 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.

SourceUri

The URI of the source for the model package.

ModelCard

The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.


paws.machine.learning documentation built on Sept. 12, 2024, 6:23 a.m.