#[non_exhaustive]pub struct RecommendationJobInputConfig { /* private fields */ }
Expand description
The input configuration of the recommendation job.
Implementations§
source§impl RecommendationJobInputConfig
impl RecommendationJobInputConfig
sourcepub fn model_package_version_arn(&self) -> Option<&str>
pub fn model_package_version_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of a versioned model package.
sourcepub fn job_duration_in_seconds(&self) -> Option<i32>
pub fn job_duration_in_seconds(&self) -> Option<i32>
Specifies the maximum duration of the job, in seconds.>
sourcepub fn traffic_pattern(&self) -> Option<&TrafficPattern>
pub fn traffic_pattern(&self) -> Option<&TrafficPattern>
Specifies the traffic pattern of the job.
sourcepub fn resource_limit(&self) -> Option<&RecommendationJobResourceLimit>
pub fn resource_limit(&self) -> Option<&RecommendationJobResourceLimit>
Defines the resource limit of the job.
sourcepub fn endpoint_configurations(&self) -> Option<&[EndpointInputConfiguration]>
pub fn endpoint_configurations(&self) -> Option<&[EndpointInputConfiguration]>
Specifies the endpoint configuration to use for a job.
sourcepub fn volume_kms_key_id(&self) -> Option<&str>
pub fn volume_kms_key_id(&self) -> Option<&str>
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.
The SageMaker execution role must have kms:CreateGrant
permission in order to encrypt data on the storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail asynchronously during endpoint configuration creation if the role passed does not have kms:CreateGrant
permission.
The KmsKeyId
can be any of the following formats:
-
// KMS Key ID
"1234abcd-12ab-34cd-56ef-1234567890ab"
-
// Amazon Resource Name (ARN) of a KMS Key
"arn:aws:kms:
: :key/ " -
// KMS Key Alias
"alias/ExampleAlias"
-
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:
: :alias/ "
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
sourcepub fn container_config(&self) -> Option<&RecommendationJobContainerConfig>
pub fn container_config(&self) -> Option<&RecommendationJobContainerConfig>
Specifies mandatory fields for running an Inference Recommender job. The fields specified in ContainerConfig
override the corresponding fields in the model package.
sourcepub fn endpoints(&self) -> Option<&[EndpointInfo]>
pub fn endpoints(&self) -> Option<&[EndpointInfo]>
Existing customer endpoints on which to run an Inference Recommender job.
sourcepub fn vpc_config(&self) -> Option<&RecommendationJobVpcConfig>
pub fn vpc_config(&self) -> Option<&RecommendationJobVpcConfig>
Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.
source§impl RecommendationJobInputConfig
impl RecommendationJobInputConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RecommendationJobInputConfig
.
Trait Implementations§
source§impl Clone for RecommendationJobInputConfig
impl Clone for RecommendationJobInputConfig
source§fn clone(&self) -> RecommendationJobInputConfig
fn clone(&self) -> RecommendationJobInputConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RecommendationJobInputConfig
impl Debug for RecommendationJobInputConfig
source§impl PartialEq<RecommendationJobInputConfig> for RecommendationJobInputConfig
impl PartialEq<RecommendationJobInputConfig> for RecommendationJobInputConfig
source§fn eq(&self, other: &RecommendationJobInputConfig) -> bool
fn eq(&self, other: &RecommendationJobInputConfig) -> bool
self
and other
values to be equal, and is used
by ==
.