VulnerableJumpStartModelError: Exception raised when trying to access a JumpStart model...

VulnerableJumpStartModelErrorR Documentation

Exception raised when trying to access a JumpStart model specs flagged as vulnerable.

Description

Raise this exception only if the scope of attributes accessed in the specifications have vulnerabilities. For example, a model training script may have vulnerabilities, but not the hosting scripts. In such a case, raise a “VulnerableJumpStartModelError“ only when accessing the training specifications.

Super class

sagemaker.core::SagemakerError -> VulnerableJumpStartModelError

Methods

Public methods

Inherited methods

Method new()

Instantiates VulnerableJumpStartModelError exception.

Usage
VulnerableJumpStartModelError$new(
  model_id = NULL,
  version = NULL,
  vulnerabilities = NULL,
  scope = NULL,
  message = NULL
)
Arguments
model_id

(Optional[str]): model ID of vulnerable JumpStart model. (Default: None).

version

(Optional[str]): version of vulnerable JumpStart model. (Default: None).

vulnerabilities

(Optional[List[str]]): vulnerabilities associated with model. (Default: None).

scope

(str): JumpStart script scopes

message

(Optional[str]): error message


Method clone()

The objects of this class are cloneable with this method.

Usage
VulnerableJumpStartModelError$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


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