Struct aws_sdk_sagemaker::input::CreateImageVersionInput
source · #[non_exhaustive]pub struct CreateImageVersionInput { /* private fields */ }
Implementations§
source§impl CreateImageVersionInput
impl CreateImageVersionInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateImageVersion, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateImageVersion, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateImageVersion
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateImageVersionInput
.
source§impl CreateImageVersionInput
impl CreateImageVersionInput
sourcepub fn base_image(&self) -> Option<&str>
pub fn base_image(&self) -> Option<&str>
The registry path of the container image to use as the starting point for this version. The path is an Amazon Elastic Container Registry (ECR) URI in the following format:
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK for Python (Boto3), add a unique value to the call.
sourcepub fn image_name(&self) -> Option<&str>
pub fn image_name(&self) -> Option<&str>
The ImageName
of the Image
to create a version of.
sourcepub fn vendor_guidance(&self) -> Option<&VendorGuidance>
pub fn vendor_guidance(&self) -> Option<&VendorGuidance>
The stability of the image version, specified by the maintainer.
-
NOT_PROVIDED
: The maintainers did not provide a status for image version stability. -
STABLE
: The image version is stable. -
TO_BE_ARCHIVED
: The image version is set to be archived. Custom image versions that are set to be archived are automatically archived after three months. -
ARCHIVED
: The image version is archived. Archived image versions are not searchable and are no longer actively supported.
sourcepub fn job_type(&self) -> Option<&JobType>
pub fn job_type(&self) -> Option<&JobType>
Indicates SageMaker job type compatibility.
-
TRAINING
: The image version is compatible with SageMaker training jobs. -
INFERENCE
: The image version is compatible with SageMaker inference jobs. -
NOTEBOOK_KERNEL
: The image version is compatible with SageMaker notebook kernels.
sourcepub fn ml_framework(&self) -> Option<&str>
pub fn ml_framework(&self) -> Option<&str>
The machine learning framework vended in the image version.
sourcepub fn programming_lang(&self) -> Option<&str>
pub fn programming_lang(&self) -> Option<&str>
The supported programming language and its version.
sourcepub fn processor(&self) -> Option<&Processor>
pub fn processor(&self) -> Option<&Processor>
Indicates CPU or GPU compatibility.
-
CPU
: The image version is compatible with CPU. -
GPU
: The image version is compatible with GPU.
sourcepub fn release_notes(&self) -> Option<&str>
pub fn release_notes(&self) -> Option<&str>
The maintainer description of the image version.
Trait Implementations§
source§impl Clone for CreateImageVersionInput
impl Clone for CreateImageVersionInput
source§fn clone(&self) -> CreateImageVersionInput
fn clone(&self) -> CreateImageVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateImageVersionInput
impl Debug for CreateImageVersionInput
source§impl PartialEq<CreateImageVersionInput> for CreateImageVersionInput
impl PartialEq<CreateImageVersionInput> for CreateImageVersionInput
source§fn eq(&self, other: &CreateImageVersionInput) -> bool
fn eq(&self, other: &CreateImageVersionInput) -> bool
self
and other
values to be equal, and is used
by ==
.