get_model_package_args: Get arguments for create_model_package method.

View source: R/session.R

get_model_package_argsR Documentation

Get arguments for create_model_package method.

Description

Get arguments for create_model_package method.

Usage

get_model_package_args(
  content_types,
  response_types,
  inference_instances,
  transform_instances,
  model_package_name = NULL,
  model_package_group_name = NULL,
  model_data = NULL,
  image_uri = NULL,
  model_metrics = NULL,
  metadata_properties = NULL,
  marketplace_cert = FALSE,
  approval_status = NULL,
  description = NULL,
  tags = NULL,
  container_def_list = NULL,
  drift_check_baselines = NULL
)

Arguments

content_types

(list): The supported MIME types for the input data.

response_types

(list): The supported MIME types for the output data.

inference_instances

(list): A list of the instance types that are used to generate inferences in real-time.

transform_instances

(list): A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

model_package_name

(str): Model Package name, exclusive to 'model_package_group_name', using 'model_package_name' makes the Model Package un-versioned (default: None).

model_package_group_name

(str): Model Package Group name, exclusive to 'model_package_name', using 'model_package_group_name' makes the Model Package versioned (default: None).

model_data

: Placeholder

image_uri

(str): Inference image uri for the container. Model class' self.image will be used if it is None (default: None).

model_metrics

(ModelMetrics): ModelMetrics object (default: None).

metadata_properties

(MetadataProperties): MetadataProperties object (default: None).

marketplace_cert

(bool): A boolean value indicating if the Model Package is certified for AWS Marketplace (default: False).

approval_status

(str): Model Approval Status, values can be "Approved", "Rejected", or "PendingManualApproval" (default: "PendingManualApproval").

description

(str): Model Package description (default: None).

tags

: Placeholder

container_def_list

(list): A list of container defintiions.

drift_check_baselines

(DriftCheckBaselines): DriftCheckBaselines object (default: None).

Value

list: A dictionary of method argument names and values.


DyfanJones/sagemaker-r-local documentation built on June 14, 2022, 10:32 p.m.