Struct aws_sdk_sagemaker::operation::create_inference_component::CreateInferenceComponentInput
source · #[non_exhaustive]pub struct CreateInferenceComponentInput {
pub inference_component_name: Option<String>,
pub endpoint_name: Option<String>,
pub variant_name: Option<String>,
pub specification: Option<InferenceComponentSpecification>,
pub runtime_config: Option<InferenceComponentRuntimeConfig>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.inference_component_name: Option<String>
A unique name to assign to the inference component.
endpoint_name: Option<String>
The name of an existing endpoint where you host the inference component.
variant_name: Option<String>
The name of an existing production variant where you host the inference component.
specification: Option<InferenceComponentSpecification>
Details about the resources to deploy with this inference component, including the model, container, and compute resources.
runtime_config: Option<InferenceComponentRuntimeConfig>
Runtime settings for a model that is deployed with an inference component.
A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
Implementations§
source§impl CreateInferenceComponentInput
impl CreateInferenceComponentInput
sourcepub fn inference_component_name(&self) -> Option<&str>
pub fn inference_component_name(&self) -> Option<&str>
A unique name to assign to the inference component.
sourcepub fn endpoint_name(&self) -> Option<&str>
pub fn endpoint_name(&self) -> Option<&str>
The name of an existing endpoint where you host the inference component.
sourcepub fn variant_name(&self) -> Option<&str>
pub fn variant_name(&self) -> Option<&str>
The name of an existing production variant where you host the inference component.
sourcepub fn specification(&self) -> Option<&InferenceComponentSpecification>
pub fn specification(&self) -> Option<&InferenceComponentSpecification>
Details about the resources to deploy with this inference component, including the model, container, and compute resources.
sourcepub fn runtime_config(&self) -> Option<&InferenceComponentRuntimeConfig>
pub fn runtime_config(&self) -> Option<&InferenceComponentRuntimeConfig>
Runtime settings for a model that is deployed with an inference component.
A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateInferenceComponentInput
impl CreateInferenceComponentInput
sourcepub fn builder() -> CreateInferenceComponentInputBuilder
pub fn builder() -> CreateInferenceComponentInputBuilder
Creates a new builder-style object to manufacture CreateInferenceComponentInput
.
Trait Implementations§
source§impl Clone for CreateInferenceComponentInput
impl Clone for CreateInferenceComponentInput
source§fn clone(&self) -> CreateInferenceComponentInput
fn clone(&self) -> CreateInferenceComponentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateInferenceComponentInput
impl PartialEq for CreateInferenceComponentInput
source§fn eq(&self, other: &CreateInferenceComponentInput) -> bool
fn eq(&self, other: &CreateInferenceComponentInput) -> bool
self
and other
values to be equal, and is used
by ==
.